# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -march=aarch64 -mcpu=falkor -iterations=2 < %s | FileCheck %s

  stp	d0, d1, [x0]

# CHECK:      Iterations:        2
# CHECK-NEXT: Instructions:      2
# CHECK-NEXT: Total Cycles:      4
# CHECK-NEXT: Total uOps:        4

# CHECK:      Dispatch Width:    8
# CHECK-NEXT: uOps Per Cycle:    1.00
# CHECK-NEXT: IPC:               0.50
# CHECK-NEXT: Block RThroughput: 1.0

# CHECK:      Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)

# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
# CHECK-NEXT:  2      0     1.00           *            stp	d0, d1, [x0]

# CHECK:      Resources:
# CHECK-NEXT: [0]   - FalkorUnitB
# CHECK-NEXT: [1]   - FalkorUnitGTOV
# CHECK-NEXT: [2]   - FalkorUnitLD
# CHECK-NEXT: [3]   - FalkorUnitSD
# CHECK-NEXT: [4]   - FalkorUnitST
# CHECK-NEXT: [5]   - FalkorUnitVSD
# CHECK-NEXT: [6]   - FalkorUnitVTOG
# CHECK-NEXT: [7]   - FalkorUnitVX
# CHECK-NEXT: [8]   - FalkorUnitVY
# CHECK-NEXT: [9]   - FalkorUnitX
# CHECK-NEXT: [10]  - FalkorUnitY
# CHECK-NEXT: [11]  - FalkorUnitZ

# CHECK:      Resource pressure per iteration:
# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]
# CHECK-NEXT:  -      -      -      -     1.00   1.00    -      -      -      -      -      -

# CHECK:      Resource pressure by instruction:
# CHECK-NEXT: [0]    [1]    [2]    [3]    [4]    [5]    [6]    [7]    [8]    [9]    [10]   [11]   Instructions:
# CHECK-NEXT:  -      -      -      -     1.00   1.00    -      -      -      -      -      -     stp	d0, d1, [x0]
